import request from "@/utils/request";

/*
* 上传切片
* */

export const uploadChunk = (data) => {
    return request.post('/upload/chunk', data);
}


/*
* 合并切片
* */

export const uploadMerge = (data) => {
    return request.post('/upload/merge', data);
}

/*
* 删除minio中的文件
* */
export const DeleteFile = (data) => {
    return request.post("/upload/delete", data)
}

/*
* 上传图片
* */
export const UploadImage = (data) => {
    return request.post("/upload/image", data)
}

/*
* 上传视频信息
* */
export const UploadVideo = (data) => {
    return request.post("/upload/video", data)
}
